/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Bussinnes;

import Dao.DesempeñoFacadeLocal;
import Model.Desempeño;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;

/**
 *
 * @author jose
 */
@Stateless
public class DesempeñoBL implements DesempeñoBLLocal {
    @EJB
    private DesempeñoFacadeLocal desempeñoFacade;

    public List<Desempeño> Lista() {
        return desempeñoFacade.findAll();
    }

    public void registrarDesempeno(Desempeño d) {
        desempeñoFacade.create(d);
    }
    
    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
 
}
